package com.js.lib_common.mvp.model;

/**
 * 20/3/31 1
 * @param <T>网络请求响应实体类
 */
public class CommonBean<T>  {

    /**
     * 状态码
     * */
    private int code;

    /**
     * 信息
     * */
    private String msg;

    /**
     * 响应实体数据
     * */
    private T list;


    /**
     * 分页信息
     * */
    private PageBean page;



    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getList() {
        return list;
    }

    public void setList(T list) {
        this.list = list;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }
}
